import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
const env_value = {
  development: '这里是开发环境',
  production: '那里是生产环境',
  staging: 'there is staging env',
  test: 'here is test env'
}

const env = process.env.VUE_APP_HOME_NAME;
const valueString = env_value[env] + '---没错的';

console.log('环境-变量: ', env_value[env], valueString);


const api = process.env.VUE_APP_API;
console.log(api);
new Vue({
  render: h => h(App),
}).$mount('#app')
